﻿<Application 
	x:Class="VXCompany.SilverlightLogging.WP7TestUI.App"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
	xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
	xmlns:svc="clr-namespace:VXCompany.SilverlightLogging;assembly=VXCompany.SilverlightLogging.WP7"
	xmlns:str="clr-namespace:VXCompany.SilverlightLogging.MVVM.Models.Stores;assembly=VXCompany.SilverlightLogging.WP7"
	>

	<!--Application Resources-->
	<Application.Resources>
	</Application.Resources>

	<Application.ApplicationLifetimeObjects>
		<!--Required object that handles lifetime events for the application-->
		<shell:PhoneApplicationService 
			Launching="Application_Launching" Closing="Application_Closing" 
			Activated="Application_Activated" Deactivated="Application_Deactivated"/>

		<svc:LoggingApplicationService ApplicationName="WP7 Test UI">
			<svc:LoggingApplicationService.Store>
				<str:ApplicationStore />	
			</svc:LoggingApplicationService.Store>
		</svc:LoggingApplicationService>
	</Application.ApplicationLifetimeObjects>

</Application>